package kcn.ip21.model;

import java.util.Date;

import javax.persistence.Entity;
import javax.persistence.GeneratedValue;
import javax.persistence.Id;
import javax.persistence.OneToOne;

@Entity
public class Dutys4 {
	private int id;
	private String staffname;
	private String gunsize;
	private String doorangle;
	private Date submittime;
	private String pump;
	private String wind;
	private String duty1;
	private String duty2;
	private String duty3;
	private Ip21s4 ip21s4;
	@Id
	@GeneratedValue
	public int getId() {
		return id;
	}
	public void setId(int id) {
		this.id = id;
	}
	public String getStaffname() {
		return staffname;
	}
	public void setStaffname(String staffname) {
		this.staffname = staffname;
	}
	public String getGunsize() {
		return gunsize;
	}
	public void setGunsize(String gunsize) {
		this.gunsize = gunsize;
	}
	public String getDoorangle() {
		return doorangle;
	}
	public void setDoorangle(String doorangle) {
		this.doorangle = doorangle;
	}
	public String getPump() {
		return pump;
	}
	public void setPump(String pump) {
		this.pump = pump;
	}
	public String getWind() {
		return wind;
	}
	public void setWind(String wind) {
		this.wind = wind;
	}
	public String getDuty1() {
		return duty1;
	}
	public void setDuty1(String duty1) {
		this.duty1 = duty1;
	}
	public String getDuty2() {
		return duty2;
	}
	public void setDuty2(String duty2) {
		this.duty2 = duty2;
	}
	public String getDuty3() {
		return duty3;
	}
	public void setDuty3(String duty3) {
		this.duty3 = duty3;
	}
	@OneToOne
	public Ip21s4 getIp21s4() {
		return ip21s4;
	}
	public void setIp21s4(Ip21s4 ip21s4) {
		this.ip21s4 = ip21s4;
	}
	public Date getSubmittime() {
		return submittime;
	}
	public void setSubmittime(Date submittime) {
		this.submittime = submittime;
	}
	
}
